//
//  CarDetailsViewController.m
//  UcarTest
//
//  Created by 陈曦 on 16/1/14.
//  Copyright © 2016年 chenxi. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MSSAutoresizeLabelFlowLayoutDelegate <NSObject>

@optional

- (void)layoutFinishWithNumberOfline:(NSInteger)number;

@end

@protocol MSSAutoresizeLabelFlowLayoutDataSource <NSObject>

- (NSString *)titleForLabelAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface MSSAutoresizeLabelFlowLayout : UICollectionViewFlowLayout

@property (nonatomic,weak) id <MSSAutoresizeLabelFlowLayoutDataSource> dataSource;
@property (nonatomic,weak) id <MSSAutoresizeLabelFlowLayoutDelegate> delegate;

@end
